package lesson1_20.lesson16;

public enum Color3 {
    //如果有其他代码，枚举对象必须写在第一行
    RED("红色"), GREEN("绿色"), BLUE("蓝色");

    //其他代码
    private String title;

    private Color3(String title) {
        this.title = title;
    }

    public String toString() {
        return this.title;
    }

}
